import request from "@/utils/request";

//获取部门内所有职务
export function getPositions(departmentId) {
  return request({
    url: "/manager/getPositions",
    method: "get",
    param: { departmentId }
  });
}

//获取部门内所有员工
export function getMembers(departmentId,limit,currentPage){
  return request({
    url: "/manager/getMembers",
    method:'get',
    params:{departmentId,limit,currentPage}
  });
}
